<!DOCTYPE html>
<!-- 登录页面 -->
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Login</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="robots" content="all,follow">
    <!-- 根据自己的 idea 修改 -->
    <base href="/">
    <!-- Bootstrap CSS-->
    <link rel="stylesheet" href="loginss/bootstrap.min.css">
    <!-- Google fonts - Poppins -->
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,700">
    <!-- theme stylesheet-->
    <link rel="stylesheet" href="loginss/style.default.css" id="theme-stylesheet">
    <!-- Favicon-->
    <link rel="shortcut icon" href="loginss/favicon.ico">
    <!-- Tweaks for older IEs--><!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <div class="page login-page">
      <div class="container d-flex align-items-center">
        <div class="form-holder has-shadow">
          <div class="row">
            <!-- Logo & Information Panel-->
            <div class="col-lg-6">
              <div style="display: flex;flex-direction: column;align-items: center; justify-content: center;" class="info d-flex align-items-center">
                <div class="content">
                  <div class="logo">
                    <h1>客服系统-登陆界面</h1>
                  </div>
                  <p align="center">Hi, SpongeBob SquarePants! </p>
                </div>
              </div>
            </div>
            <!-- Form Panel    -->
            <div class="col-lg-6 bg-white">
              <div class="form d-flex align-items-center">
                <div class="content">
                  <form method="post" class="form-validate" action="/customer-service/login">
                    <div class="alert alert-danger" role="alert" th:if="${state} eq 2" th:text="${msg}"></div>
                    <div class="form-group">
                      <input id="login-username" type="email"   name="email"   required  data-msg="Please enter your username" class="input-material"  value="123@qq.com">
                      <label for="login-username" class="label-material">Email</label>
                    </div>
                    <div class="form-group">
                      <input id="login-password" type="password"  name="password"  required   data-msg="Please enter your password" class="input-material"  value="111">
                      <label for="login-password" class="label-material">Password</label>
                    </div>
                    <button class="btn btn-primary btn-block" >Sign in</button>
                  </form><br>
                  <a href="#" class="forgot-pass">Forgot Password?</a><br><small>Do not have an account? </small><a href="/register" class="signup">Signup</a>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="copyrights text-center">
        <p>Design by <a href="#" style="color: white;">Bootstrapious</a>
          <!-- Please do not remove the backlink to us unless you support further theme's development at https://bootstrapious.com/donate. It is part of the license conditions. Thank you for understanding :)-->
        </p>
      </div>
    </div>
    <!-- JavaScript files-->
    <script src="loginss/jquery.min.js"></script>
    <script src="loginss/bootstrap.min.js"></script>
    <script src="loginss/jquery.cookie.js"></script>
    <script src="loginss/jquery.validate.min.js"></script>
    <!-- Main File-->
    <script src="loginss/front.js"></script>
    <script>

    </script>
  </body>
</html>